/*
import { message } from 'antd';
 * @Author: Klein
 * @Date: 2021-06-20 23:24:34
 * @Description: file content
 */

const router = require("koa-router")();

router.prefix("/project");

const ProjectDao = require("../dao/project");
const Message = require("../lib/message");
router.get("/list", async (ctx, next) => {
  const result = await ProjectDao.findProject();

  ctx.body = Message.success(result);
});

module.exports = router;
